﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Web.Core;

namespace Yuanlin.Business
{
    public class CompanyMessage : Entity
    {


        private Property<int> userId = new Property<int>();
        private Property<string> visitorUserName = new Property<string>();
        private Property<string> address = new Property<string>();
        private Property<string> contact = new Property<string>();
        private Property<string> ipAddress = new Property<string>();
        private Property<string> greenNumber = new Property<string>();
        private Property<string> body = new Property<string>();
        private Property<DateTime> createDate = new Property<DateTime>();

        public Property<int> UserId
        {
            get { return userId; }
            set { userId = value; }
        }
        public Property<string> VisitorUserName
        {
            get { return visitorUserName; }
            set { visitorUserName = value; }
        }
        public Property<string> Address
        {
            get { return address; }
            set { address = value; }
        }
        public Property<string> Contact
        {
            get { return contact; }
            set { contact = value; }
        }
        public Property<string> IpAddress
        {
            get { return ipAddress; }
            set { ipAddress = value; }
        }
        public Property<string> GreenNumber
        {
            get { return greenNumber; }
            set { greenNumber = value; }
        }
        public Property<string> Body
        {
           get { return body; }
           set { body = value; }
        }
        public Property<DateTime> CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }
    }
}